package com.jn.rxjava.model;

import java.util.List;

public class WeatherResponse {
    private int code;
    private String msg;
    private Result result;

    public static class Result {
        private String city_name;
        private String current_condition;
        private double current_temperature;
        private long current_time;
        private String tips;
        private List<Forecast> forecast_list;

        public static class Forecast {
            private String condition;
            private String date;
            private String high_temperature;
            private String low_temperature;
            private String weather_icon_id;
            private String wind_direction;
            private String wind_level;

            // Getters
            public String getCondition() { return condition; }
            public String getDate() { return date; }
            public String getHighTemperature() { return high_temperature; }
            public String getLowTemperature() { return low_temperature; }
            public String getWeatherIconId() { return weather_icon_id; }
            public String getWindDirection() { return wind_direction; }
            public String getWindLevel() { return wind_level; }
        }

        // Getters
        public String getCityName() { return city_name; }
        public String getCurrentCondition() { return current_condition; }
        public double getCurrentTemperature() { return current_temperature; }
        public long getCurrentTime() { return current_time; }
        public String getTips() { return tips; }
        public List<Forecast> getForecastList() { return forecast_list; }
    }

    // Getters
    public int getCode() { return code; }
    public String getMsg() { return msg; }
    public Result getResult() { return result; }
}